<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
보기:

<%for(int i=1;i<=Integer.parseInt(request.getParameter("type"));i++){ %>
	<input type="checkbox" id="examCheck<%=i %>"><%=i %>.<input type="text" size="8" id="exam<%=i %>">
<%} %>
<input type="button" value="문제입력" onclick="inputTest()"><br>